import request from '@/utils/request'
const BASE = '/financial/order'
// 分页查询
export function getOrderListApi(params) {
    return request({
        url: `${BASE}/list`,
        method: "GET",
        params
    })
}

// id查询es数据
export function getOrderGetInfoApi(params) {
    return request({
        url: `${BASE}/getInfo`,
        method: "GET",
        params
    })
}

// 添加订单
export function getOrderAddApi(data) {
    return request({
        url: `${BASE}/add`,
        method: "post",
        data
    })
}